Skip to content

Conversation

@mkopec
Copy link
Member

@mkopec mkopec commented Sep 1, 2025

…scriptor is locked

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
@mkopec
Copy link
Member Author

mkopec commented Sep 1, 2025

Does not work yet, it seems that reading the DescriptorWriteable EFI variable fails.

@mkopec
Copy link
Member Author

mkopec commented Sep 2, 2025

Tested: Booted V540TU to the setup menu and verified that the HAP option does not appear anymore - except on first boot, where coreboot cannot set the variable due to the EFI store not being initialized.

Managed to succesfuly initiate Capsule Update twice without setting the ME to HAP mode, too, however the actual update got stuck at a black screen both times and the laptop got bricked. @SergiiDmytruk do you have some ideas?

…scriptor is locked

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
…iptor is locked

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
…I var

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
…ures.c: correct logic for descriptor writeability

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
@mkopec mkopec force-pushed the descriptor_lockdown branch from 3f3e17e to 09b49b3 Compare September 2, 2025 09:30
@SergiiDmytruk
Copy link
Member

SergiiDmytruk commented Sep 2, 2025 via email

@mkopec
Copy link
Member Author

mkopec commented Sep 2, 2025

Ahh now that the ME is not in HAP mode, the code tries to enable HMRFPO, which causes a global reset and corrupts the capsule data... Need to remove the HMRFPO enabling code at least until capsule on disk is introduced

@filipleple filipleple merged commit 09b49b3 into dasharo Sep 2, 2025
2 checks passed
@filipleple filipleple deleted the descriptor_lockdown branch September 2, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants